<!--[include file='admin_std_header.htm']-->

<fieldset>
  <legend>MENU</legend>
  <div><a href="<!--[pnmodurl modname='IShopStore' type='admin' func='form' ctrl='SubCategories']-->"><img align="absmiddle" src="modules/IShopStore/pnimages/add.png" />เพิ่มหมวดหมู่ย่อย</a></div>
</fieldset>

<fieldset>
   <legend>รายการหมวดหมู่ย่อยทั้งหมด</legend>
<table width="60%" border="0" align="center">
  <tr>
    <th width="35%" bgcolor="#C7D9EB" align="center">หมวดหมู่ย่อย</th>
    <th width="40%" bgcolor="#C7D9EB" align="center">หมวดหมู่</th>
    <th width="15%" bgcolor="#C7D9EB" align="center">แก้ไข/ลบ</th>
  </tr>
  <!--[foreach from=$objectArray item=item]-->
  <!--[get_category_by_id cat_id=$item.categories_id]-->
  <tr bgcolor="<!--[cycle values="#FFFFFF,#E8EFF7"]-->">
    <td><!--[$item.name]--></td>
    <td><!--[$cat_name]--></td>
  	<td align="center">
      <a href="<!--[pnmodurl modname='IShopStore' type='admin' func='form' ctrl='SubCategories' id=$item.id]-->"><img src="modules/IShopStore/pnimages/edit.png" /></a>&nbsp;&nbsp;
      <a href="<!--[pnmodurl modname='IShopStore' type='admin' func='delete' ctrl='SubCategories' id=$item.id]-->" onclick="return confirm('<!--[pnml name='_INNOADVERT_GLOBAL_BUTTON_DELETE_WARN']-->')"><img src="modules/IShopStore/pnimages/delete.png" /></a>
	</td>
  </tr>
  <!--[/foreach]-->
</table>

</fieldset>

